<?php foreach ($this->topics_list AS $key => $val) { ?>
<li><a href="javascript:;" class="xd_head"><img src="<?php echo get_topic_pic_url('mid', $val['topic_pic']); ?>" alt="<?php echo $val['topic_title']; ?>" title="<?php echo $val['topic_title']; ?>" /></a>
	<span class="i_glotopic"><?php echo $val['topic_title']; ?></span>
	<p><a class="i_green_bt2 i_right<?php if ($val['has_focus']) { ?> cur<?php } ?>" onclick="focus_topic($(this), $(this), <?php echo $val['topic_id']; ?>);" href="javascript:;"><?php if ($val['has_focus']) { ?>取消<?php } ?>关注</a><span class="i_gltxtHide">该标签有 <?php echo $val['discuss_count']; ?> 个站点</span></p>
</li>
<?php } ?>